package com.newlink.building.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.HttpResult
import com.newlink.building.common_base.model.bean.PolicyAgreementData
import io.reactivex.Observable

/**
 * Created by xiaodong on 2025/2/20.
 */
class NL_LicenseContract {
    interface View : IView {
        fun onGetAgreementSuccess(data: PolicyAgreementData)
    }

    interface Presenter : IPresenter<View> {
        fun getAgreement()
    }

    interface Model : IModel {
        fun getAgreement(): Observable<HttpResult<PolicyAgreementData>>
    }
}
